package 继承作业;

public class Student extends Person{
    private String language;//语文
    private String mathematics;//数学

    public void eat(){
        System.out.println("学生吃有营养的早餐");
    }

    public void call(){
        System.out.println("学生用手机打电话");
    }
    public  void playGame(){
        System.out.println("学生用手机玩游戏");
    }


}



